<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上报详情</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="${ctxPath}/static/css/common.css" rel="stylesheet" type="text/css">
    <script src="${ctxPath}/static/assets/js/jquery.js" type="text/javascript"></script>
</head>
<body>
<div class="wrapper">
    <div class="appear_header">
        <div class="line clearfix">
            <span class="fl">上报人：${desc.detail.phone}</span>
            <span class="fr">${func.formatTime(desc.detail.desc.createtime)}</span>
        </div>
        <div class="line">问题类型：<span class="green_color">
               @for (var i in desc.detail.type){
                       ${i}
            @   }
           </span></div>
        <div class="line"><span>问题描述：</span> ${desc.detail.desc.desc}</div>
    </div>
    <div class="appear_center">
        <h3>现场图片</h3>
        <div class="appear_text">

        </div>

    </div>
</div>
<script type="application/javascript">
    var obj = JSON.parse('${desc.detail.desc.imgtext}');
    for (var i = 0; i < obj.length; i++) {
        var j = (obj[i])
        $(".appear_text").append('<img src=' + j.img + '>');
        $(".appear_text").append('<p>' + j.text + '</p>');
    }
</script>


</body>
</html>